﻿package com {
	import com.slurm.*;
	import flash.events.Event;

	public class Main extends Core {
		
		public static var _instance:Object;
		
		public function Main() {
			super();
			_instance = this;
		}
		
		public static function get instance():Object
		{
			return _instance;
		}
		
		override public function updateLoader()
		{
			loader.gotoAndStop(super.percentajeLoader);
			loader.percentageTxt.text = String(super.percentajeLoader)+"%";
		}
		
		override public function ready(){
			gotoAndStop(2);
			super.render();
		}
		
	}
	
}
